#ifndef __CROSSFIRE_TEXURELOADER
#define __CROSSFIRE_TEXURELOADER

class CCF_TextureLoader
{
private:
  LPDIRECT3DDEVICE9 m_device;

  BOOL FindImageFile( const LPWSTR filename, LPWSTR fullpath, DWORD nFullpathSize );
public:
  CCF_TextureLoader(void);
  ~CCF_TextureLoader(void);

  void Initialize( LPDIRECT3DDEVICE9 device );
  LPDIRECT3DTEXTURE9 LoadFromFile( const LPWSTR filename );
};

#endif